package BehavioralPatterns.Command;

/*
命令接受者
 */
public class LightReceiver {

  public void on(){
    System.out.println("电灯打开了");
  }
  public void off(){
    System.out.println("电灯关闭了");
  }
}
